package com.cj.mobile.iabp.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;
import com.cj.mobile.iabp.di.module.SetServerAddressModule;
import com.cj.mobile.iabp.mvp.contract.SetServerAddressContract;

import com.jess.arms.di.scope.ActivityScope;
import com.cj.mobile.iabp.mvp.ui.activity.SetServerAddressActivity;

/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 2023/08/21 16:41
 * ================================================
 */
@ActivityScope
@Component(modules = SetServerAddressModule.class, dependencies = AppComponent.class)
public interface SetServerAddressComponent {

    void inject(SetServerAddressActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        Builder view(SetServerAddressContract.View view);

        Builder appComponent(AppComponent appComponent);

        SetServerAddressComponent build();
    }
}